import request from '@/utils/request'

// 查询仪器迁移列表
export function listInstrumentShift(query) {
  return request({
    url: '/labdata/instrumentShift/list',
    method: 'get',
    params: query
  })
}

// 查询仪器迁移详细
export function getInstrumentShift(shiftId) {
  return request({
    url: '/labdata/instrumentShift/' + shiftId,
    method: 'get'
  })
}

// 新增仪器迁移
export function addInstrumentShift(data) {
  return request({
    url: '/labdata/instrumentShift',
    method: 'post',
    data: data
  })
}

// 修改仪器迁移
export function updateInstrumentShift(data) {
  return request({
    url: '/labdata/instrumentShift',
    method: 'put',
    data: data
  })
}

// 删除仪器迁移
export function delInstrumentShift(shiftId) {
  return request({
    url: '/labdata/instrumentShift/' + shiftId,
    method: 'delete'
  })
}

// 导出仪器迁移
export function exportInstrumentShift(query) {
  return request({
    url: '/labdata/instrumentShift/export',
    method: 'get',
    params: query
  })
}